package com.hotel.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hotel.entity.Legacy;

public interface LegacyMapper {
    int deleteByPrimaryKey(Integer legacyId);

    int insert(Legacy record);

    int insertSelective(Legacy record);

    Legacy selectByPrimaryKey(Integer legacyId);

    int updateByPrimaryKeySelective(Legacy record);

    int updateByPrimaryKey(Legacy record);
    

    List<Legacy> findAllLegacyByPage(@Param(value="pageNo")Integer pageNo,@Param(value="pageSize")Integer pageSize);
}